Data Size Converter

Convert everything from bits to petabytes at once

Calculated with 1KB = 1,024 Bytes (binary prefixes)

What this tool does

Enter a number and pick a unit (bit, byte, KB, MB, GB, TB or PB), and this data size converter shows the same amount in all seven units at once. It opens with 1 byte. Use it to express a file's GB in MB, to work out how many TB an external drive or cloud plan holds, to match internet speeds (in bits) to file sizes (in bytes), or to check unit conversions for computing classes.

How it is calculated

One byte is 8 bits, and each unit above the byte is 1,024 times (2 to the 10th) the one below: 1 KB = 1,024 bytes, 1 MB = 1,024 KB, 1 GB = 1,024 MB, 1 TB = 1,024 GB, 1 PB = 1,024 TB. The input is converted to bytes and then divided by each unit's byte value to fill seven rows. For example, 1 GB gives 1,024 MB, 1,048,576 KB, 1,073,741,824 bytes, 8,589,934,592 bits and about 0.000977 TB. Results show up to six decimals; values below 0.0001 or at 10^15 and above use exponent notation such as '9.5367e-7'. Results update as soon as you change the value or unit, and the chosen unit's row is highlighted.

  • 1 byte = 8 bits
  • 1 KB = 1,024 bytes, 1 MB = 1,024 KB
  • 1 GB = 1,024 MB, 1 TB = 1,024 GB, 1 PB = 1,024 TB
  • Network speeds (Mbps) are in bits and file sizes (MB) in bytes, a factor of 8
  • How to use: enter a value, pick a unit, and all seven results appear together

Things to know

  • A 100 Mbps connection carries 100 million bits a second, so divide by 8 for a theoretical maximum of about 12.5 million bytes a second. Real transfers are usually slower.
  • Drive makers usually count 1 GB as one billion bytes. Entering a 500 GB drive as 500,000,000,000 bytes shows about 465.66 GB, which is why your operating system reports less.
  • The gap between the 1,000 and 1,024 conventions grows with the unit: 2.4% at KB but about 10% at TB.
  • A standard writes the 1,024-based units as KiB, MiB and GiB, but both conventions are mixed in practice. This converter uses 1,024 only.
  • Lowercase b is bits and uppercase B is bytes; always check which one a plan or router spec uses.
  • Decimal values such as 0.5 TB or 1.5 GB work as entered.

Frequently asked questions

Why is 1 KB 1,024 bytes rather than 1,000?

Computers work in binary, so powers of two are natural, and 2^10 = 1,024 is close to 1,000, so the name kilo was borrowed. The KiB notation was later introduced for the 1,024-based unit to reduce confusion.

What is the difference between Mb and MB?

Lowercase b is bits and uppercase B is bytes. Since a byte is 8 bits, the same number differs by a factor of 8.

My new SSD shows less space than advertised.

The maker counts 1 GB as a billion bytes while the operating system uses 1,024-based units. A 500 GB drive shows as about 465 GB; nothing is missing.

Can it calculate with 1,000-based units?

No. Every unit is 1,024-based. For decimal values, enter bytes and divide by 1,000 per step yourself.

← na.to home